import request from '@/utils/request'

// 新增
export function add(data) {
  return request({
    url: 'api/nurse/save.do',
    method: 'post',
    data
  })
}
// 修改
export function update(data) {
  return request({
    url: 'api/nurse/update.do',
    method: 'post',
    data
  })
}

// 查询
export function all(data) {
  return request({
    url: 'api/nurse/all.do',
    method: 'get',
    data
  })
}
